package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class UserController {

    @RequestMapping("user")
    public String index(Model model){
        model.addAttribute("name","ganggang handsome");
        return "jsp/user";
    }
}
